
package org.jallinone.variants.java;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import org.openswing.swing.message.receive.java.*;
import org.jallinone.items.java.ItemPK;


/**
 * <p>Title: JAllInOne ERP/CRM application</p> <p>Description: Value object used to store the variants matrix for a specified item code.</p> <p>Copyright: Copyright (C) 2006 Mauro Carniel</p> <p> This file is part of JAllInOne ERP/CRM application. This application is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This application is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it</p>
 * @author  Mauro Carniel
 * @version  1.0
 */
public class VariantsMatrixVO extends ValueObjectImpl {

  /**
 * pk for the item
 * @uml.property  name="itemPK"
 * @uml.associationEnd  
 */
  private ItemPK itemPK;
  /**
 * list of VariantsMatrixRowVO objects
 * @uml.property  name="rowDescriptors"
 * @uml.associationEnd  multiplicity="(0 -1)"
 */
  private VariantsMatrixRowVO[] rowDescriptors = new VariantsMatrixRowVO[0];
  /**
 * list of VariantsMatrixColumnVO objects
 * @uml.property  name="columnDescriptors"
 * @uml.associationEnd  multiplicity="(0 -1)"
 */
  private VariantsMatrixColumnVO[] columnDescriptors = new VariantsMatrixColumnVO[0];
  /** number of decimals for item qty in order */
  private int decimals;
  /**
 * list of VariantNameVO objects
 * @uml.property  name="managedVariants"
 * @uml.associationEnd  multiplicity="(0 -1)"
 */
  private VariantNameVO[] managedVariants = new VariantNameVO[0];


  public VariantsMatrixVO() { }


  /**
 * @return
 * @uml.property  name="itemPK"
 */
public ItemPK getItemPK() {
    return itemPK;
  }
 
  /**
 * @param itemPK
 * @uml.property  name="itemPK"
 */
public void setItemPK(ItemPK itemPK) {
    this.itemPK = itemPK;
  }

  /**
 * @return
 * @uml.property  name="decimals"
 */
public int getDecimals() {
	  return decimals;
  }
  /**
 * @param decimals
 * @uml.property  name="decimals"
 */
public void setDecimals(int decimals) {
	  this.decimals = decimals;
  }


  /**
 * @return
 * @uml.property  name="rowDescriptors"
 */
public VariantsMatrixRowVO[] getRowDescriptors() {
	  return rowDescriptors;
  }


  /**
 * @param rowDescriptors
 * @uml.property  name="rowDescriptors"
 */
public void setRowDescriptors(VariantsMatrixRowVO[] rowDescriptors) {
	  this.rowDescriptors = rowDescriptors;
  }


  /**
 * @return
 * @uml.property  name="columnDescriptors"
 */
public VariantsMatrixColumnVO[] getColumnDescriptors() {
	  return columnDescriptors;
  }


  /**
 * @param columnDescriptors
 * @uml.property  name="columnDescriptors"
 */
public void setColumnDescriptors(VariantsMatrixColumnVO[] columnDescriptors) {
	  this.columnDescriptors = columnDescriptors;
  }


  /**
 * @return
 * @uml.property  name="managedVariants"
 */
public VariantNameVO[] getManagedVariants() {
	  return managedVariants;
  }


  /**
 * @param managedVariants
 * @uml.property  name="managedVariants"
 */
public void setManagedVariants(VariantNameVO[] managedVariants) {
	  this.managedVariants = managedVariants;
  }



}
